package com.bj58.mis.apm.server.statistics.mapper;

import com.bj58.mis.apm.server.statistics.dto.common.Pair;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: wangxw
 **/
@Mapper
public interface CommonMapper {

    /**
     * 查询项目列表
     * @param authCubeIdList
     * @return
     */
    public List<Pair> queryProjects(@Param("authCubeIdList") List<String> authCubeIdList);

    /**
     * 查询cube列表
     * @param projectId
     * @param authCubeIdList
     * @return
     */
    public List<Pair> queryCubes(@Param("projectId") String projectId, @Param("authCubeIdList") List<String> authCubeIdList);

}
